﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace C4F.DevKit.Calendar.Parser
{
    internal class CalendarConstants
    {
        #region Keyword Constants

        public const string SUMMARY = "SUMMARY";

        public const string LOCATION = "LOCATION";

        public const string UID = "UID";

        public const string URL = "URL";

        public const string ATTENDEE = "ATTENDEE";

        public const string TIMESTAMP = "DTSTAMP";

        public const string START_DATE_TIME = "DTSTART";

        public const string END_DATE_TIME = "DTEND";

        public const string RECURRENCE_RULE = "RRULE";

        public const string NOTES = "DESCRIPTION";

        public const string OCCURRENCE = "RECURRENCE-ID";

        public const string SEQUENCE_NUMBER = "SEQUENCE";

        public const string REMINDER_ACTION = "ACTION:DISPLAY";

        public const string REMINDER_DESCRIPTION = "DESCRIPTION:Reminder";

        public const string DESCRIPTION = "DESCRIPTION";

        public const string TRIGGER = "TRIGGER";

        public const string REMINDER_UID = "X-WR-ALARMUID";

        public const string BEGIN = "BEGIN";

        public const string FREQUENCY = "FREQ";

        public const string COUNT = "COUNT";

        public const string RECURRENCE_END_DATE_TIME = "UNTIL";

        public const string INTERVAL = "INTERVAL";

        public const string MONTH_WEEKDAY = "BYDAY";

        public const string MONTH_DATE = "BYMONTHDAY";

        public const string BEGIN_TIMEZONE = "BEGIN:VTIMEZONE";

        public const string END_TIMEZONE = "END:VTIMEZONE";

        public const string BEGIN_CALENDAR = "BEGIN:VCALENDAR";

        public const string END_CALENDAR = "END:VCALENDAR";

        public const string BEGIN_APPOINTMENT = "BEGIN:VEVENT";

        public const string END_APPOINTMENT = "END:VEVENT";

        public const string BEGIN_REMINDER = "BEGIN:VALARM";

        public const string END_REMINDER = "END:VALARM";

        public const string TIME_ZONE_ID = "TZID";

        public const string DATE_TIME_VALUE = "VALUE=DATE-TIME";

        public const string DATE_VALUE = "VALUE=DATE";

        public const string MAILTO = "MAILTO";

        public const string COMMON_NAME = "CN";

        public const string TRIGGER_PREFIX = ":-P";

        public const string ZERO_LENGTH_TRIGGER = ":P0W";

        public const string FROM_OFFSET = "TZOFFSETFROM";

        public const string TO_OFFSET = "TZOFFSETTO";

        public const string NEWLINE = "\r\n";

        public const string CALENDAR_METADATA = "VERSION:2.0" +
            NEWLINE + "PRODID:-//Microsoft Corporation//Windows Calendar 1.0//EN" +
            NEWLINE + "CALSCALE:GREGORIAN" +
            NEWLINE + "METHOD:PUBLISH";

        public const int ASCII_SPACE_CODE = 32;

        internal const int LINE_LENGTH_LIMIT = 75;

        #endregion
    }
}
